home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / ada / adaed-1.11 / adaed-1 / Adaed-1.11.0a / miscprots.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-07  |  1.6 KB  |  67 lines

  1. /*
  2.  * Copyright (C) 1985-1992  New York University
  3.  * 
  4.  * This file is part of the Ada/Ed-C system.  See the Ada/Ed README file for
  5.  * warranty (none) and distribution info and also the GNU General Public
  6.  * License for more details.
  7.  
  8.  */
  9.  
  10. #include "ifile.h"
  11.  
  12. #ifdef DEBUG
  13. void trace_malloc();
  14. #endif
  15. char *smalloc(unsigned);
  16. #ifdef DEBUG
  17. void smalloc_list();
  18. #endif
  19. int is_smalloc_block(char *);
  20. void capacity(char *);
  21. #ifdef CHAOS
  22. void chaos(char *);
  23. #else
  24. void exit_internal_error();
  25. #endif
  26. void exitp(int);
  27. char *ecalloc(unsigned, unsigned);
  28. char *emalloc(unsigned);
  29. char *erealloc(char *, unsigned);
  30. char *strjoin(char *, char *s2);
  31. int streq(char *, char *);
  32. char *substr(char *, int, int);
  33. #ifdef nogetopt
  34. int getopt(int, char **, char *);
  35. #endif
  36. char *greentime(int);
  37. FILE *efopenl(char *, char *, char *, char *);
  38. FILE *efopen(char *, char *, char *);
  39. void efree(char *);
  40. int strhash(char *);
  41. char *unit_name_type(char *);
  42. #ifdef BSD
  43. char *strchr(char *, int);
  44. char *strrchr(char *, int);
  45. #endif
  46. char *libset(char *);
  47. char *ifname(char *, char *);
  48. IFILE *ifopen(char *, char *, char *, char *, int, int);
  49. static void openerr(char *, char *);
  50. void ifclose(IFILE *);
  51. void ifoclose(IFILE *);
  52. #ifdef DEBUG
  53. static void fhlist(IFILE *, char *);
  54. #endif
  55. long ifseek(IFILE *, char *, long, int);
  56. long iftell(IFILE *);
  57. char *emalloct(unsigned, char *);
  58. #ifndef EXPORT
  59. char *malloct(unsigned, char *);
  60. char *ecalloct(unsigned, unsigned, char *);
  61. char *erealloct(char *, unsigned, char *);
  62. void efreet(char *, char *);
  63. #endif
  64. char *predef_env();
  65. char *get_libdir();
  66. char *parsefile(char *, int *, int *, int *);
  67.